    {empty name="Request.param.notadd"}
    <span class="l mr-5">
        <a class="btn radius btn-primary" onclick="edit('添加','{:url(\''.\\think\\Request::instance()->controller().'/add',['addcid'=>$addcid])}')" href="javascript:;">
            <i class="Hui-iconfont">&#xe600;</i> 添加
        </a>
    </span>
    {else}
    {neq name="Request.controller" value="Bbsmass"}
    <!--添加所有分类-->
    <span class="l mr-5">
        <a class="btn radius btn-primary" onclick="edit('添加','{:url(\''.\\think\\Request::instance()->controller().'/add',['addcid'=>$addcid])}')" href="javascript:;">
            <i class="Hui-iconfont">&#xe600;</i> 添加
        </a>
    </span>
    {/neq}
    {/empty}

    <input name="inputtype" id="style" value="" type="hidden"/>
    <input name="cid" id="style-id" value="" type="hidden"/>
    <input name="newcid" id="style-newcid" value="" type="hidden"/>
    <input name="lang" id="style-lang" value="" type="hidden"/>

    <span>
        <button class="btn radius btn-danger " name="del" onclick="test(this)">
            <i class="Hui-iconfont"></i> 删除
        </button>
    </span>

    {notempty name="nav"}
    <style type="text/css">
        .menu>li {
        position: relative;
        clear: both;
        float: left;
        
    }
        .menu>li button[disabled]{
        color:red;
    }
    </style>

    <span class="dropDown dropDown_hover __web-inspector-hide-shortcut__ btn-warning news-dropDown">
        
        <button class="btn radius btn-warning dropdown-toggle dropDown_A" type="button" name="move" data-toggle="dropdown" aria-expanded="false">
            移动目录 
            <i class="Hui-iconfont">&#xe6d5;</i>
            <!--<span class="caret"></span>-->
        </button>

        <ul class="dropDown-menu menu radius box-shadow">
                
            <li class="disabled open"><a href="javascript:;">移动到指定目录</a></li>
           
            {volist name="nav" id="vo"}
            <li>
                <button class="btn radius {$vo.id}" name="move" value="{$vo.id}" onclick="test(this)" {neq name="$Request.controller" value="$vo.model"}disabled="disabled" {/neq}>{$vo.name}</button>
            </li>
                {volist name="vo.children" id="vv"}
                    <li>
                        <button class="btn radius {$vv.id}" name="move" value="{$vv.id}" onclick="test(this)" {neq name="$Request.controller" value="$vv.model"}disabled="disabled" {/neq}>{:str_repeat('&nbsp;', $vv['grade'] * 4)}{$vv.name}</button>
                    </li>
                    {volist name="vv.children" id="vvv"}
                    <li>
                        <button class="btn radius {$vvv.id}" name="move" value="{$vvv.id}" onclick="test(this)" {neq name="$Request.controller" value="$vvv.model"}disabled="disabled" {/neq}>{:str_repeat('&nbsp;', $vvv['grade'] * 4)}{$vvv.name}</button>
                    </li>
                    {/volist}
                {/volist}
            {/volist}
        </ul>
    </span>

    <span class="dropDown dropDown_hover __web-inspector-hide-shortcut__ btn-warning news-dropDown">

        <button class="btn radius btn-warning dropdown-toggle dropDown_A" type="button" name="move" data-toggle="dropdown" aria-expanded="false">
            复制
            <i class="Hui-iconfont">&#xe6d5;</i>
            <!--<span class="caret"></span>-->
        </button>

        <ul class="dropDown-menu menu radius box-shadow">

            <li class="disabled open"><a href="javascript:;">语言</a></li>

            <li>
                <span class="btn" style="color: #000;">中文 > </span>

                <ul class="dropDown-menu menu radius box-shadow">
                        {volist name="zh" id="vo"}
                        <li>
                            <button class="btn radius {$vo.id}" name="move" value="{$vo.id}" onclick="langcopy('{$vo.lang??''}','{$vo.id}','{$Request.param.cid}','copy')" {neq name="$Request.controller" value="$vo.model"}disabled="disabled" {/neq}>{$vo.name}</button>
                        </li>
                            {volist name="vo.children" id="vv"}
                                <li>
                                    <button class="btn radius {$vv.id}" name="move" value="{$vv.id}" onclick="langcopy('{$vv.lang??''}','{$vv.id}','{$Request.param.cid}','copy')" {neq name="$Request.controller" value="$vv.model"}disabled="disabled" {/neq}>{:str_repeat('&nbsp;', $vv['grade'] * 4)}{$vv.name}</button>
                                </li>
                                {volist name="vv.children" id="vvv"}
                                <li>
                                    <button class="btn radius {$vvv.id}" name="move" value="{$vvv.id}" onclick="langcopy('{$vvv.lang??''}','{$vvv.id}','{$Request.param.cid}','copy')" {neq name="$Request.controller" value="$vvv.model"}disabled="disabled" {/neq}>{:str_repeat('&nbsp;', $vvv['grade'] * 4)}{$vvv.name}</button>
                                </li>
                                {/volist}
                            {/volist}
                        {/volist}
<!-- 
                    {volist name="zh" id="vo"}
                    <li>
                        <button class="btn radius {$vo.id}" name="copy" value="{$vo.id}" onclick="langcopy('{$vo.lang??''}','{$vo.id}','{$Request.param.cid}','copy')">{$vo.name}</button>
                    </li>
                    {/volist} -->
                </ul>
            </li>

            <li>
                <span class="btn" style="color: #000;" >英文 > </span>

                <ul class="dropDown-menu menu radius box-shadow">
                        {volist name="en" id="vo"}
                        <li>
                                <button class="btn radius {$vo.id}" name="move" value="{$vo.id}" onclick="langcopy('{$vo.lang??''}','{$vo.id}','{$Request.param.cid}','copy')" {neq name="$Request.controller" value="$vo.model"}disabled="disabled" {/neq}>{$vo.name}</button>
                            </li>
                                {volist name="vo.children" id="vv"}
                                    <li>
                                        <button class="btn radius {$vv.id}" name="move" value="{$vv.id}" onclick="langcopy('{$vv.lang??''}','{$vv.id}','{$Request.param.cid}','copy')" {neq name="$Request.controller" value="$vv.model"}disabled="disabled" {/neq}>{:str_repeat('&nbsp;', $vv['grade'] * 4)}{$vv.name}</button>
                                    </li>
                                    {volist name="vv.children" id="vvv"}
                                    <li>
                                        <button class="btn radius {$vvv.id}" name="move" value="{$vvv.id}" onclick="langcopy('{$vvv.lang??''}','{$vvv.id}','{$Request.param.cid}','copy')" {neq name="$Request.controller" value="$vvv.model"}disabled="disabled" {/neq}>{:str_repeat('&nbsp;', $vvv['grade'] * 4)}{$vvv.name}</button>
                                    </li>
                                    {/volist}
                                {/volist}
                        {/volist}
                    <!-- {volist name="en" id="vo"}
                    <li>
                        <button class="btn radius {$vo.id}" name="copy" value="{$vo.id}" onclick="langcopy('{$vo.lang??''}','{$vo.id}','{$Request.param.cid}','copy')">{$vo.name}</button>
                    </li>
                    {/volist} -->
                </ul>
            </li>
        </ul>

    </span>
    {/notempty}

    {switch name="Request.controller"}
    {case value="Supply|Tender|Purchase"}
    <span class="dropDown dropDown_hover __web-inspector-hide-shortcut__ btn-warning news-dropDown">
        <button class="btn radius btn-warning dropdown-toggle dropDown_A" type="button" name="move" data-toggle="dropdown" aria-expanded="false">
            修改
            <i class="Hui-iconfont">&#xe6d5;</i>
            <!--<span class="caret"></span>-->
        </button>

        <ul class="dropDown-menu menu radius box-shadow">
            <li class="disabled open"><a href="javascript:;">状态</a></li>
            <li><button class="btn" name="resume" onclick="test(this)">通过</button></li>
            <li><button class="btn" name="fail" onclick="test(this)">不通过</button></li>
        </ul>
    </span>

    <span class="dropDown dropDown_hover __web-inspector-hide-shortcut__ btn-warning news-dropDown">
        <button class="btn radius btn-warning dropdown-toggle dropDown_A" type="button" name="move" data-toggle="dropdown" aria-expanded="false">
            审核
            <i class="Hui-iconfont">&#xe6d5;</i>
            <!--<span class="caret"></span>-->
        </button>

        <ul class="dropDown-menu menu radius box-shadow">
            <li>
                <a class="btn" href="{:url(\''.\\think\\Request::instance()->controller().'/index',['status'=>0,'cid'=>$addcid,'notadd'=>$Request.param.notadd])}">未审核</a>
            </li>

            <li>
                <a class="btn" href="{:url(\''.\\think\\Request::instance()->controller().'/index',['status'=>1,'cid'=>$addcid,'notadd'=>$Request.param.notadd])}">已通过</a>
            </li>

            <li>
                <a class="btn" href="{:url(\''.\\think\\Request::instance()->controller().'/index',['status'=>2,'cid'=>$addcid,'notadd'=>$Request.param.notadd])}">不通过</a>
            </li>
        </ul>
    </span>
    {/case}

    {default /}
    <span class="dropDown dropDown_hover __web-inspector-hide-shortcut__ btn-warning news-dropDown">
        <button class="btn radius btn-warning dropdown-toggle dropDown_A" type="button" name="move" data-toggle="dropdown" aria-expanded="false">
            修改
            <i class="Hui-iconfont">&#xe6d5;</i>
            <!--<span class="caret"></span>-->
        </button>

        <ul class="dropDown-menu menu radius box-shadow">
            <li class="disabled open"><a href="javascript:;">状态</a></li>
            <li><button class="btn" name="forbid" onclick="test(this)">禁用</button></li>
            <li><button class="btn" name="resume" onclick="test(this)">显示</button></li>
        </ul>
    </span>
    {/switch}
